using System;
using Microsoft.SPOT;

namespace HttpIntfLib
{
    public class FormatHelpers
    {
        public static string getJson(short pinNum, bool value)
        {
            string str = "{ \"PinNum\":" + pinNum + ", \"Value\":" + value + " }";
            return str;
       }

        public static string getErrJson(short errCode, string errText)
        {
            string str = "{ \"ErrorCode\":" + errCode + ", \"ErrText\":" + errText + " }";
            return str;
        }

    }
}
